/*
	Twitch
	Please leave credits to the origional devs where its due if edited.
*/

usermessage.Hook("AddText",function(um)
	local argc = um:ReadShort()
	local args = {}
	for i = 1,argc/2,1 do
		table.insert(args,Color(um:ReadShort(),um:ReadShort(),um:ReadShort(),um:ReadShort()))
		table.insert(args,um:ReadString())
	end
	chat.AddText(unpack(args))
end)
